package decimal;

import java.math.BigDecimal;
import java.util.Arrays;

public class Test02 {
    public static void main(String[] args) {
        int[] arr = {431,54,25,25,26,45,2,4,65,3,64,6,46,7,54};

        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));

        int res1 = Arrays.binarySearch(arr, 2);
        System.out.println(res1);

        int res2 = Arrays.binarySearch(arr, 200);
        System.out.println(res2);
    }
}
